import util from '../utils/request'
const fetch = util.ajax

//获取图片验证码
export function getVerifyApi(data) {
    return fetch({
        url: 'blog/auth/getVerify',
        method: 'get',
        data: data
    })
}

export function userLoginApi(data) {
    return fetch({
        url: 'blog/auth/login',
        method: 'post',
        data: data
    })
}
